package day04;

import java.util.Scanner;

public class SwitchTest02 {
    public static void main(String[] args) {
        // 字符串
        String name ="邓紫棋";// 定义字符串变量 name = 值；
        System.out.println(name);

        // switch case 支持 byte short int char 字符串 枚举
        System.out.println("请输入星期几");
        Scanner sc = new Scanner(System.in);
        String weekDay=sc.nextLine();
        switch (weekDay) {
            case "星期一":
                System.out.println("喝营养粥");
                break;
            case "星期二":
                System.out.println("鱼香茄子盖饭");
                break;
            case "星期三":
                System.out.println("过桥米线");
                break;
            case "星期四":
                System.out.println("大盘鸡");
                break;
            case "星期五":
                System.out.println("多肉葡萄");
                break;
            default:
                System.out.println("周末了，我要出去嗨，吃什么无所谓了！！！");
        }
    }
}
